import { createApp } from 'vue'
import { createPinia } from 'pinia'
//import ElementPlus from 'element-plus'
//import 'element-plus/dist/index.css'
import App from './App.vue'
import router from './router'

//引入初始化样式
import '~/styles/common.scss'

//测试接口函数
import { getCategory } from "~/api/testAPI"
getCategory().then(res=>{
  console.log(res);
})


const app = createApp(App)

app.use(createPinia())
app.use(router)
//app.use(ElementPlus)

import 'virtual:windi.css'

app.mount('#app')
